//
// Created by SN on 2020/1/11.
//

#include <stdio.h>

int main() {

    //字符
    printf("char = %c\n", 'a');
    //短整型
    printf("short = %hd\n", 10);
    //整型
    printf("int = %d\n", 20);
    //长整型
    printf("long = %ld\n", 1000);
    //单精度浮点型
    printf("float = %f\n", 1.1f);
    //双精度浮点型
    printf("double = %lf\n", 1.122);

    return 0;
}